package abc.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum ActionType implements IEnum<Integer> {
    ALL(0, "ALL"),
    GET(1, "GET"),
    QUERY(2, "QUERY"),
    PAGE(3, "PAGE"),
    EXIST(4, "EXIST"),
    COUNT(5, "COUNT"),
    INSERT(6, "INSERT"),
    UPDATE(7, "UPDATE"),
    DELETE(8, "DELETE"),
    BATCH_DELETE(9, "BATCH_DELETE"),
    MIN(10, "MIN"),
    MAX(11, "MAX"),
    SUM(12, "SUM"),
    AVG(13, "AVG"),
    UPLOAD(14, "UPLOAD"),
    DOWNLOAD(15, "DOWNLOAD"),
    PLAY_VIDEO(16, "PLAY_VIDEO"),
    EXPORT(17, "EXPORT"),
    IMPORT(18, "IMPORT"),
    OTHER(100, "OTHER");
    ;


    private Integer value;
    private String text;

    ActionType(Integer value, String text) {
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    public String getText() {
        return this.text;
    }
}
